
public class Test {
    public static void main(String[] args) {
        Book[] books=new Book[10];
        Book book=new Book();
        Book book1=new Book();
        book.bookname="aihdoiha";

        books[0]=book;
//        System.out.println(books[0]);
        books[0]=null;
        books[0]=book1;
        System.out.println(books[0]);


    }






}
